summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2024-02-25 20:01:11 +0100
committerGitHub <noreply@github.com>2024-02-25 20:01:11 +0100
commitf9bfdb15559c7ce447151162af61cc69efcbec01 (patch)
treee338646262a38110ae7c9bc3ab1fd7393ba93959
parentMerge pull request #13163 from german77/ring (diff)
parenttools: Add reset submodules script (diff)
downloadyuzu-f9bfdb15559c7ce447151162af61cc69efcbec01.tar
yuzu-f9bfdb15559c7ce447151162af61cc69efcbec01.tar.gz
yuzu-f9bfdb15559c7ce447151162af61cc69efcbec01.tar.bz2
yuzu-f9bfdb15559c7ce447151162af61cc69efcbec01.tar.lz
yuzu-f9bfdb15559c7ce447151162af61cc69efcbec01.tar.xz
yuzu-f9bfdb15559c7ce447151162af61cc69efcbec01.tar.zst
yuzu-f9bfdb15559c7ce447151162af61cc69efcbec01.zip
-rwxr-xr-xtools/reset-submodules.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/reset-submodules.sh b/tools/reset-submodules.sh
new file mode 100755
index 000000000..6fdfe0bcd
--- /dev/null
+++ b/tools/reset-submodules.sh
@@ -0,0 +1,8 @@
+#!/bin/bash -ex
+
+# SPDX-FileCopyrightText: 2024 yuzu Emulator Project
+# SPDX-License-Identifier: MIT
+
+git submodule sync
+git submodule foreach --recursive git reset --hard
+git submodule update --init --recursive